package models;

import javax.persistence.Entity;
import javax.persistence.OneToOne;
import java.math.BigDecimal;
import java.util.Date;
import play.db.jpa.Model;

@Entity
public class HsbcCreditStatementExtraInfo extends Model {

    @OneToOne
    public BankStatement bankStatement;

    public BigDecimal creditLimit;
    public BigDecimal creditAvailable;
    public Date cutoffDate;
    public int miles;
    public int daysInCycle;
    public String creditCardNumber;
    public Date payBefore;
    public BigDecimal minimumPayment;
    public BigDecimal paymentWithoutInterests;

    public BigDecimal balanceAtEndOfCycle;
    public BigDecimal newCharges;
    public BigDecimal paymentAndCredits;
    public BigDecimal cashDrawbacks;
    public BigDecimal interestAmount;
}
